package sfeir.ergosum.model;

import java.io.Serializable;

public abstract class Image  implements Serializable{
	
	private static final long serialVersionUID = 4460574495275649346L;
	public final static int TYPE_URL = 0x01;
    public final static int TYPE_BYTE = 0x02;

    public final static String FORMAT_JPG = "jpg";
    public final static String FORMAT_PNG = "png";
    public final static String FORMAT_GIF = "gif";
    public final static String FORMAT_BMP = "bmp";

    public String format;

    public abstract int getImageType();

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }
}
